/* 搜索框区域开始 */
.search-index {
  position: fixed;
  display: flex;
  top: 0;
  height: 44px;
  width: 100%;
  max-width: 540px;
  align-items: center;
  z-index: 1;
  overflow: hidden;
  .search {
    position: relative;
    flex: 1;
    height: 28px;
    margin-left: 12px;
    padding-left: 36px;
    background-color: #fff;
    border-radius: 14px;
    line-height: 28px;
    color: #666;
    font-size: 13px;
    i {
      position: absolute;
      left: 14px;
      top: 7px;
      width: 14px;
      height: 14px;
      background: url('../images/sprite.png') no-repeat 0 0;
      background-size: 21px;  
    }
  }
  .login {
    width: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #fff;
    i {
      display: block;
      width: 20px;
      height: 20px;
      background: url('../images/sprite.png') no-repeat 0 -36px;
      background-size: 21px auto;  
    }
  }
}
/* 搜索框区域结束 */
/* 焦点图部分 */
.focus {
  position: relative;
  width: 150%;
  padding: 0 25%;
  transform: translate(-16.66666666666%);
  border-radius: 0 0 50% 50%;
  overflow: hidden;
  a {
    position: relative;
    display: block;
    width: 100%;
    img {
      display: block;
      width: 100%;
    }
    /* 顶部遮罩 */
    .bg {
      position: absolute;
      top: 0;
      width: 100%;
      height: 60px;
      background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    }
  }
}
/* 焦点图部分结束 */
/* local-nav部分 */
ul.local-nav {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 10px;
  margin-top: -52px;
  list-style: none;
  background-color: #fff;
  height: 76px;
  border-radius: 8px;
  li {
    flex: 1;
    a {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      i {
        // display: block;
        width: 40px;
        height: 40px;
        background: url('../images/localnav_bg.png') no-repeat 0 0;
        background-size: 40px auto;
        // margin: 0 auto;
      }
      span {
        font-size: 12px;
        color: #222;
      }
    }
  }
}
/* local-nav部分结束 */
/* 主导航部分 */
nav.nav {
  margin: 10px 10px 0;
  text-align: center;
  border-radius: 8px;
  // box-sizing: content-box;
  overflow: hidden;
  .nav-common {
    display: flex;
    border-top: 1px solid #fff;
    align-items: center;
    background-image: linear-gradient(to right,#34c2aa,#6cd557);
    a {
      flex: 1;
      padding: 25.6px 0;
      border-left: 1px solid #fff;
      color: #fff;
      font-size: 14px;
      &:nth-child(1) {
        flex: 1.37;
        padding-left: 12px;
        border: none;
        text-align: left;
      }
    }
    &:nth-child(1) {
      border: none;
      background-image: linear-gradient(to right, #fa5a56, #fb8550);
      a:nth-child(1) {
        background: url('../images/hotel.png') no-repeat right bottom;
        background-size: 73px auto;  
      }
      a:nth-child(2) {
        background: url('../images/minsu.png') no-repeat left bottom;
        background-size: 37px auto;  
      }
      a:nth-child(3) {
        flex: 2;
        // background-image: linear-gradient(to right, #ffcb50, #ffc84e);
        background: url('../images/hot_sale.png') no-repeat left bottom, linear-gradient(to right, #ffcb50, #ffc84e);
        background-size: 241px auto;  
      }
    }
    &:nth-child(2) {
      background-image: linear-gradient(to right, #4b8fed, #53bced);
      a:nth-child(1) {
        background: url(../images/flight.png) no-repeat right bottom;
        background-size: auto 34px;
      }
      a:nth-child(2) {
        background: url(../images/train.png) no-repeat left bottom;
        background-size: 37px auto;
      }
    }
    &:nth-child(3) {
      a:nth-child(1) {
        background: url('../images/travel.png') no-repeat right bottom;
        background-size: auto 47px;
      }
      a:nth-child(2) {
        background: url(../images/dingzhi.png) no-repeat left bottom;
        background-size: 61px auto;
      }
    }
  }
}
/* 主导航部分结束 */
/* subnav-entry */
ul.subnav-entry {
  margin-top: 5px;
  padding: 0 10px;
  overflow: hidden;
  border-bottom: 1px solid #dbdbdb;
  li {
    float: left;
    width: 20%;
    a {
      display: flex;
      width: 100%;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      i {
        margin: 4px 0 2px;
        width: 28px;
        height: 28px;
        background: url(../images/subnav-bg.png) no-repeat 6px -137px;
        background-size: 24px auto;
      }
      span {
        font-size: 12px;
        color: #222;
      }
    }
  }
}
/* subnav-entry结束 */
/* sales-box */
.sales-box {
  background-color: #fff;
  .hd {
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    align-items: center;
    height: 47px;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #dbdbdb;
    h2 {
      position: relative;
      width: 79px;
      height: 15px;
      background: url(../images/hot.png) no-repeat 0 -20px;
      background-size: 79px auto;
      i {
        position: absolute;
        right: -40px;
        top: 0;
        width: 36px;
        height: 15px;
        background: url(../images/icon-gg@2x.png) no-repeat;
        background-size: 36px auto;
      }
    }
    a {
      position: relative;
      padding: 2px 20px 2px 10px;
      margin-right: 15px;
      background-image: linear-gradient(to right, #dd5c6f, #e068c4);
      border-radius: 22px;
      color: #fff;
      font-size: 12px;
      &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 10px;
        width: 6px;
        height: 6px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: translateY(-50%) rotate(45deg) ;
      }
    }
  }
  .bd {
    overflow: hidden;
    border-top: 2px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    a {
      position: relative;
      float: left;
      width: 50%;
      img {
        display: block;
        width: 100%;
      }
      span {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 28px;
        height: 16px;
        border-top-right-radius: 4px;
        background-color: #b3b3b3;
        color: white;
        font-size: 12px;
        line-height: 16px;
        text-align: center;
      }
    }
  }
}
/* sales-box结束 */